package com.golddaymicromall.util;

/**
 * Created by dawd on 2016/4/7.
 */
public class ButtonUtils {
    private static long lastClickTime;

    public static boolean isFastDoubleClick() {
        long time = System.currentTimeMillis();
        if (time - lastClickTime < 2000) {
            return true;
        }
        lastClickTime = time;
        return false;
    }
}
